package org.catspaw.cherubim.persistence.hibernate;

import org.apache.commons.discovery.tools.DiscoverSingleton;
import org.hibernate.Session;

public class DiscoverySessionHandler implements SessionHandler {

	private SessionHandler	delegate	= DiscoverSingleton.find(SessionHandler.class);

	public Session getSession() {
		return delegate.getSession();
	}

	public SessionHandler getDelegate() {
		return delegate;
	}
}
